package com.yyp.car.Idao;

import java.util.List;

import com.hdw.basic.dao.IBaseDao;
import com.yyp.car.model.User;

public interface IUserDao extends IBaseDao<User>{
	public User findByUserName(String username); 
	public List<User> listTeacher();
	public List<User> listStudent();
	public User findById(int id);
	public List<User> listStudentByTid(int tid);
	public String findPassword(int id);
	public void changePassword(int id,String password);
	public List<User> listAllStudent();
	public void blackStudent(int id);
	public void whiteStudent(int id);
}
